<!doctype html>
<html>
<head>
    <meta name="Generator"  />
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width">
    <title>申请退款</title>
    <meta name="Keywords" content="Call管家" />
    <meta name="Description" content="Call管家" />
    <meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=0"/>

    <link rel="stylesheet" href="__HOMECSS__/style.css">
    <script src="__HOMEJS__/jquery-1.7.2.min.js"></script>
    <script src="__PUBLIC__/layer/layer.js"></script>
</head>

<body style="background: #f6f6f6">

<!-- 退换货申请 -->
<div class="confirm_product sales_return">
    <div class="content_img confirm_product_img">
        <img src="{$orderGoods.image}" alt="" width="100%">
    </div>
    <div class="content_name confirm_product_name">
        <p class="name">{$orderGoods.goods_name}</p>
        <p>{$orderGoods.attr_key_name}</p>
    </div>
</div>
<form method="post">
    <div class="user_myorder user_myorder1 tuikuan" style="background: #fff;display: none">
        <span class="myorder_l">
            <span>退款原因</span>
        </span>
        <span class="myorder_r myorder_right"></span>
    </div>
    <div class="apply_price">
        <p>退款金额：<span>¥ <input type="number" name="money" required value="{$orderGoods['price'] * $orderGoods['goods_num']}" style="color: #ff5100;" max="{$orderGoods['price'] * $orderGoods['goods_num']}" min="0"></span></p>
    </div>
    <div class="apply_help">
        最多退款金额：<span>¥ {$orderGoods['price'] * $orderGoods['goods_num']}</span>
    </div>
    <div class="apply_sm">
        <span>退款说明</span><input type="text" placeholder="选填" name="reason">
    </div>
    <div class="address_new">
        <p id="submit">提交</p>
    </div>
</form>
<!--货物状态弹窗-->
<div class="salereturn_window">
    <div class="share_window_bg"></div>
    <div class="sharewindow_content salerturn_content">
        <h3>货物状态</h3>
        <p> <span>未收到货</span> <input type="checkbox" class="selectPart"/></p>
        <p> <span>已收到货</span> <input type="checkbox" class="selectPart"/></p>

    </div>
    <div class="specification_ye">
        <p>关闭</p>
    </div>

</div>

<!--退款原因弹窗-->
<div class="salereturn_window2">
    <div class="share_window_bg"></div>
    <div class="sharewindow_content salerturn_content">
        <h3>退款原因</h3>
        <p> <span>拍错/不喜欢/效果不好</span> <input type="radio" name="box" class="selectPart"/></p>
        <p> <span>保持期与商品描述不符</span> <input type="radio" name="box"  class="selectPart"/></p>
        <p> <span>其它</span> <input type="radio" name="box"  class="selectPart"/></p>

    </div>
    <div class="specification_ye">
        <p>关闭</p>
    </div>

</div>

</body>
<script>
    $(function () {
        $(".huwu").click(function () {
            $(".salereturn_window").show()
        })
        $(".share_window_bg").click(function () {
            $(".salereturn_window").hide()
            $(".salereturn_window2").hide()
        })
        $(".specification_ye").click(function () {
            $(".salereturn_window").hide()
            $(".salereturn_window2").hide()
        })
        $(".tuikuan").click(function () {
            $(".salereturn_window2").show()
        })

        $('#submit').click(function(){
            var money = Number($('input[name=money]').val());
            if(money < 0 || money > Number("{$orderGoods['price'] * $orderGoods['goods_num']}")){
                layer.msg('请输入正确的金额');return;
            }
            $('form').submit();
        });

    })
</script>
</html>
